* {
    padding: 0;
    transition: all .4s ease-in-out;
}

header, footer {
    display: inline-block;
    width: 100%;
}

body {
    background: url("images/bg.jpg");
}

.extra {
    width: 1100px;
    background: white;
    margin: 0 auto;
    box-shadow: 1px 1px 1px black;
        border-right: 2px solid black;
}

header {
    border-bottom: 2px solid black;
}

header > .logo {
    background: url("images/page2-img2.jpg");
    width: 266px;
    height: 110px;
    display: inline-block;
}

header > .intro {
    height: 110px;
    width: 800px;
    display: inline-block;
}

.social {
    width: 150px;
	float: right;
	display: block;
}

.social > li {
    display: inline-block;
}

.fb > a, .tw > a, .com > a, .mail > a {
    display: block;
    width: 32px;
    height: 32px;
}

.fb > a {
    background: url("images/facebook29.png");
}

.tw > a {
    background: url("images/black400.png");
}

.com > a {
    background: url("images/mail59.png");
}

.mail > a {
    background: url("images/social38.png");
}

.sidebar {
    width: 400px;
    display: inline-block;
    border-right: 2px black solid;
    margin-top: 0px;
    float: left;
    height: auto;
}

.main {
    width: 650px;
    display: inline-block;
    padding: 5px;
}

.content {
    display: inline-block;
    margin-top: 0px;
}
nav > ul {
    width: 100%;
    list-style: none;
    border-top: 1px black solid;
}

nav > ul > li > a {
    display: block;
    text-decoration: none;
    padding: 10px;
    color: black;
    font-size: 18px;
    border-bottom: 1px black solid;
}

nav > ul > li > a:hover {
    background: #dddddd;
}

nav > ul > li:nth-child(odd) {
    background: #eeeeee;
}

nav > ul  .active {
	background: rgba(34,56,200, 0.5)
}

.search {
    padding: 5px;
}

.search  span {
    display: inline-block;
    background: url("images/toolbar_find.png");
    width: 32px;
    height: 32px;
    border-radius: 9px 0px 0px 9px;
    border: 1px black solid;
    border-right: none;
}

.search  input, .search  button {
    border: 1px solid black;
    border-left: none;
    border-radius: 0px 9px 9px 0px;
    height: 32px;
    position: relative;
    top: -13px;
}

.search  button {
    border-left: 1px solid black;
    border-radius: 9px;
    cursor: pointer;
}

footer {
    border: 1px black solid;
}

footer .left {
    width: 74px;
    height: 74px;
    background: url('images/left207.png');
    background-repeat: no-repeat;
    display: inline-block;
    background-position: center;
    border: 1px solid black;
    border-radius: 6px;
    margin-left: 9px;
    float: left;
    margin-top: 50px;
}

footer .right {
    width: 74px;
    height: 74px;
    background: url('images/arrow621.png');
    background-repeat: no-repeat;
    display: inline-block;
    border: 1px solid black;
    border-radius: 6px;
    background-position: center;
    float: left;
    margin-top: 50px;
}

footer .carousel {
    width: 920px;
    display: inline-block;
    margin-left: 10px;
    text-align: center;
    float: left;
}

footer .carousel li {
    display: inline-block;
}

footer .carousel li img {
    border: 1px black solid;
    opacity: .7;
    cursor: pointer;
}

footer .carousel li img:hover {
    opacity: 1;
    border-color: #ccc;
    border-radius: 3px;
}

footer .right:hover, footer .left:hover {
    border-color: gray;
    cursor: pointer;
    box-shadow: 0px 0px 5px gray;
}